<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Test15</title>
</head>
<body>
    <script type="text/javascript">
        var a = parseInt(prompt("请输入一个数字"));
        var b = parseInt(prompt("请输入二个数字"));
        alert("最大的数字是："+(a>b?+a:b));
    </script>
</body>
</html>